#ifndef ASSERTS_H
#define ASSERTS_H

#include <stdio.h>
#include <stdexcept>

#define ARG_NOT_NULL(x) do { if (x == NULL) throw std::invalid_argument(#x); } while(0)
#define ASS(x) do { if (!x) throw std::logic_error(""); } while(0)

#endif // ASSERTS_H
